package com.ruoyi.ldzlsb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import java.util.List;

/**
 * 设备保养配置对象 sb_maintenance_config
 * 
 * @author anli
 * @date 2024-03-11
 */
public class SbMaintenanceConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 配置ID */
    private Long configId;

    /** 配置编号 */
    @Excel(name = "配置编号")
    private String configCode;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String configName;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Long typeId;
    
    /** 设备类型名称 */
    @Excel(name = "设备类型")
    private String typeName;
    
    /** 配置类别（0标准 1自定义） */
    @Excel(name = "配置类别", readConverterExp = "0=标准,1=自定义")
    private String configCategory;
    
    /** 状态（0停用 1正常） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private String configStatus;

    /** 部门ID */
    private Long deptId;

    /** 部门名称 */
    private String deptName;

    /** 删除标志（0代表存在 1代表删除） */
    private String isDelete;

    /** 保养项目列表 */
    private List<SbMaintenanceItem> maintenanceItems;

    public void setConfigId(Long configId) {
        this.configId = configId;
    }

    public Long getConfigId() {
        return configId;
    }

    public void setConfigCode(String configCode) {
        this.configCode = configCode;
    }

    public String getConfigCode() {
        return configCode;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getConfigName() {
        return configName;
    }
    
    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    
    public String getConfigCategory() {
        return configCategory;
    }

    public void setConfigCategory(String configCategory) {
        this.configCategory = configCategory;
    }

    public String getConfigStatus() {
        return configStatus;
    }

    public void setConfigStatus(String configStatus) {
        this.configStatus = configStatus;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public List<SbMaintenanceItem> getMaintenanceItems() {
        return maintenanceItems;
    }

    public void setMaintenanceItems(List<SbMaintenanceItem> maintenanceItems) {
        this.maintenanceItems = maintenanceItems;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("configId", getConfigId())
                .append("configCode", getConfigCode())
                .append("configName", getConfigName())
                .append("typeId", getTypeId())
                .append("typeName", getTypeName())
                .append("configCategory", getConfigCategory())
                .append("configStatus", getConfigStatus())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("isDelete", getIsDelete())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("maintenanceItems", getMaintenanceItems())
                .toString();
    }
} 